<?php
/**
 * Created by PhpStorm.
 * User: DELL-PC
 * Date: 2018/8/2
 * Time: 12:19
 */

namespace J;


use Throwable;

class Exception extends \Exception
{

    /**
     *
     * @param string $message 错误信息
     * @param array  $code 错误参数
     * @param Throwable $previous
     */
    public function __construct($message = "", $code = [], Throwable $previous = null)
    {
        parent::__construct(message($message, $code), 0, $previous);
    }
}